package cn.lyh.FoodSystem.Dao;


import cn.lyh.FoodSystem.Entity.Study;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface StudyDao extends JpaRepository<Study,Integer>, JpaSpecificationExecutor<Study> {
    List<Study> findByUserId(String userId);
}
